package me.luger.project.fof.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import me.luger.core.dao.nutz.entity.NutzTransient;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

@Table("fof_benchmark")
public class Benchmark extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 自动递增ID
     */
    @Id
    @Column("id")
    @Comment("自动递增ID")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer id;
    /**
     * benchmark名称
     */
    @Column("name")
    @Comment("benchmark名称")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String name;
    /**
     * 资产/策略类型ID
     */
    @Column("typeId")
    @Comment("资产/策略类型ID")
    @ColDefine(type = ColType.INT, width = 1)
    private Integer typeId;

    /**
     * 资产/策略ID
     */
    @Column("assetStrategyId")
    @Comment("资产/策略ID")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer assetStrategyId;

    /**
     * benchmark名称
     */
    @Column("windCode")
    @Comment("wind代码")
    @ColDefine(type = ColType.VARCHAR, width = 31)
    private String windCode;

    @NutzTransient
    private String assetStrategyName;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return this.id;
    }

    public void setName(String name){
        this.name=name;
    }
    public String getName(){
        return this.name;
    }

    public void setTypeId(Integer typeId){
        this.typeId=typeId;
    }
    public Integer getTypeId(){
        return this.typeId;
    }

    public String getAssetStrategyName() {
        return assetStrategyName;
    }

    public void setAssetStrategyName(String assetStrategyName) {
        this.assetStrategyName = assetStrategyName;
    }

    public Integer getAssetStrategyId() {
        return assetStrategyId;
    }

    public void setAssetStrategyId(Integer assetStrategyId) {
        this.assetStrategyId = assetStrategyId;
    }

    public String getWindCode() {
        return windCode;
    }

    public void setWindCode(String windCode) {
        this.windCode = windCode;
    }
}